export type RoleType = '' | '*' | 'admin' | 'user';
export interface User {
  userId?: string;
  email?: string;
  status: number;
  roles: Record<string, any>[];
  admin: boolean;
  avatar?: string;
  remark?: string;
  userName: string;
  password: string;
  phonenumber: string;
  dept: {
    deptId: string;
    deptName: string;
    leader: string;
    [key: string]: any;
  };
}
export interface UserState {
  user: User;
  roles: RoleType[];
  permissions: string[];
  isDefaultModifyPwd: boolean;
  isPasswordExpired: boolean;
}
